package com.ld.admin.model.system.dbbackup;

import java.io.Serializable;
import java.util.Date;

import com.ld.shieldsb.annotation.model.ModelAnno.Model;
import com.ld.shieldsb.annotation.model.ModelAnno.TableName;

import lombok.Data;

/**
 * 
 * 备份记录表(db_backup_info)
 * 
 * @ClassName DbbackLogModel
 * @author 刘金浩
 * @date 2019年11月13日 16:18:44
 *
 */
@Model(name = "备份记录表")
@TableName("db_backup_info")
@Data
public class DbbackUpInfoModel implements Serializable {
    private static final long serialVersionUID = 2446051859011338464L;

    /*主键*/
    private Long id;
    /*文件地址*/
    private String backupFileName;

    private String backupFilePath;
    private Integer tablesNum;
    private String backupType; // 备份类型 database ,table
    private String tablesArgs; // 备份表设置 contain ，ignore
    private String tables; // 备份表设置 contain ，ignore
    private String dbHandler; // 备份表设置 all ，data,structure

    /*创建人*/
    private Long createBy;
    /*创建人姓名*/
    private String createName;
    /*创建时间*/
    private Date createTime;
    /*修改人*/
    private Long updateBy;
    /*修改人姓名*/
    private String updateName;
    /*修改时间*/
    private Date updateTime;
    /*状态0正常-1删除*/
    private Integer state;
}